const http = uni.$u.http
 
export const hideMessageList = (data) => http.get('/auth/im-user/hideMessageList', data)
export const findVideoMainByPage = (data) => http.get('/auth/video-main/findVideoMainByPage', data)
export const findVideoMainHotByPage = (data) => http.get('/auth/video-main/findVideoMainHotByPage', data)

export const selectAll = (data) => http.get('/auth/video-type/selectAll', data)
export const findVideoMainByTypeId = (data) => http.get('/auth/video-main/findVideoMainByTypeId', data)
export const selectMyVideoPIByVideoId = (data) => http.get('/auth/video-player-info/selectMyVideoPIByVideoId', data)  
export const findHistory = (data) => http.get('/auth/user-history-video/findHistory', data)  
export const findCollect = (data) => http.get('/auth/user-collect-video/findCollect', data)  
export const selectVideoId = (data) => http.get('/auth/user-collect-video/selectVideoId', data)  
export const saveVideoMain = (data) => http.get('/auth/video-main/saveVideoMain', data)  
export const findAll = (data) => http.get('/auth/level-set/findAll', data)  
export const selectOne = (data) => http.get('/auth/user-info/selectOne', data)  
export const selectLike = (data) => http.get('/auth/video-main/selectLike', data)  
export const WeChatPay = (data) => http.get('/auth/user-info/WeChatPay', data)  
export const moneyWeChatPay = (data) => http.get('/auth/user-info/moneyWeChatPay', data)  
export const amountUnlock = (data) => http.get('/auth/user-info/amountUnlock', data)  
export const vipUnlocks = (data) => http.get('/auth/user-info/vipUnlocks', data)  
// export const moneyUnlocks = (data) => http.get('/auth/user-info/moneyUnlocks', data)  

export const findAllPlayerByMainId = (data) => http.get('/auth/video-plaer-user/findAllPlayerByMainId', data)  
export const selectCountNumIsZero = (data) => http.get('/auth/user-info/selectCountNumIsZero', data)  
export const updateclicks = (data) => http.get('/auth/video-main/updateclicks', data)  
export const selectimgPlayerbyid = (data) => http.get('/auth/video-main/selectimgPlayerbyid', data)  
export const selectOrderId = (data) => http.get('/auth/user-info/selectOrderId', data)  














export const register =(params, config = {})=> http.post('/auth/user-info/register', params, config)
export const login =(params, config = {})=> http.post('/auth/user-info/login', params, config)
export const oneClickLogin =(params, config = {})=> http.post('/auth/user-info/oneClickLogin', params, config)
export const saveHistory =(params, config = {})=> http.post('/auth/user-history-video/saveHistory', params, config)
export const saveAndRemoveCollect =(params, config = {})=> http.post('/auth/user-collect-video/saveAndRemoveCollect', params, config)
export const saveData =(params, config = {})=> http.post('/auth/video-player-info/saveData', params, config)
export const updateCountMoeny =(params, config = {})=> http.post('/auth/user-info/updateCountMoeny', params, config)

